package com.jiangjiang.eshop.comment.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author Jianghaowen
 * @Date 2021/7/13
 * @Description: TODO
 * @Version V1.0
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CommentShowDTO {
    /**
     * 商品id
     */
    private Long goodsId;
    /**
     * 评论统计信息
     */
    private CommentAggregateDTO aggregate;

    /**
     * 评论列表数据
     */
    private Page<CommentInfoDTO> commentInfoDTOList;
}
